package com.yzh.sharding.service.impl;

import com.yzh.sharding.annotation.HandlerType;
import com.yzh.sharding.constants.HandlerConstants;
import com.yzh.sharding.model.Order;
import com.yzh.sharding.service.HandlerService2;
import org.springframework.stereotype.Service;

/**
 * @program: yzh->GroupHandler
 * @description: 群组处理器
 * @author: yangzhanghui
 * @create: 2019-11-29 15:17
 **/
@Service
@HandlerType(value = HandlerConstants.HANDLER2_ONE)
public class GroupHandler2 implements HandlerService2 {
    @Override
    public String handle(Order order) {
        return "GroupHandler2:" + order.getRemark();
    }
}
